package cn.gyouzhe.config.props;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * mongo配置
 *
 * @author wangchuan
 * @datetime 2018/2/25 22:26
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "mongo")
public class MongoProperties {
    /**
     * mongodb地址
     */
    private String host;
    /**
     * mongodb端口
     */
    private int port;
    /**
     * mongodb端口
     */
    private String username;
    /**
     * mongodb密码
     */
    private String password;
    /**
     * DB名称
     */
    private String dbname;
}
